Optimal. Leaf size=161 \[ \frac {2 a^2 \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d \sqrt {a \cos (c+d x)+a}}+\frac {26 a^2 \sin (c+d x) \sec ^{\frac {5}{2}}(c+d x)}{35 d \sqrt {a \cos (c+d x)+a}}+\frac {104 a^2 \sin (c+d x) \sec ^{\frac {3}{2}}(c+d x)}{105 d \sqrt {a \cos (c+d x)+a}}+\frac {208 a^2 \sin (c+d x) \sqrt {\sec (c+d x)}}{105 d \sqrt {a \cos (c+d x)+a}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.31, antiderivative size = 161, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {4222, 2762, 21, 2772, 2771} \[ \frac {2 a^2 \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d \sqrt {a \cos (c+d x)+a}}+\frac {26 a^2 \sin (c+d x) \sec ^{\frac {5}{2}}(c+d x)}{35 d \sqrt {a \cos (c+d x)+a}}+\frac {104 a^2 \sin (c+d x) \sec ^{\frac {3}{2}}(c+d x)}{105 d \sqrt {a \cos (c+d x)+a}}+\frac {208 a^2 \sin (c+d x) \sqrt {\sec (c+d x)}}{105 d \sqrt {a \cos (c+d x)+a}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 2762
Rule 2771
Rule 2772
Rule 4222
Rubi steps
\begin {align*} \int (a+a \cos (c+d x))^{3/2} \sec ^{\frac {9}{2}}(c+d x) \, dx &=\left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {(a+a \cos (c+d x))^{3/2}}{\cos ^{\frac {9}{2}}(c+d x)} \, dx\\ &=\frac {2 a^2 \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{7 d \sqrt {a+a \cos (c+d x)}}-\frac {1}{7} \left (2 a \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {-\frac {13 a}{2}-\frac {13}{2} a \cos (c+d x)}{\cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}} \, dx\\ &=\frac {2 a^2 \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{7 d \sqrt {a+a \cos (c+d x)}}+\frac {1}{7} \left (13 a \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\sqrt {a+a \cos (c+d x)}}{\cos ^{\frac {7}{2}}(c+d x)} \, dx\\ &=\frac {26 a^2 \sec ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{35 d \sqrt {a+a \cos (c+d x)}}+\frac {2 a^2 \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{7 d \sqrt {a+a \cos (c+d x)}}+\frac {1}{35} \left (52 a \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\sqrt {a+a \cos (c+d x)}}{\cos ^{\frac {5}{2}}(c+d x)} \, dx\\ &=\frac {104 a^2 \sec ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{105 d \sqrt {a+a \cos (c+d x)}}+\frac {26 a^2 \sec ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{35 d \sqrt {a+a \cos (c+d x)}}+\frac {2 a^2 \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{7 d \sqrt {a+a \cos (c+d x)}}+\frac {1}{105} \left (104 a \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\sqrt {a+a \cos (c+d x)}}{\cos ^{\frac {3}{2}}(c+d x)} \, dx\\ &=\frac {208 a^2 \sqrt {\sec (c+d x)} \sin (c+d x)}{105 d \sqrt {a+a \cos (c+d x)}}+\frac {104 a^2 \sec ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{105 d \sqrt {a+a \cos (c+d x)}}+\frac {26 a^2 \sec ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{35 d \sqrt {a+a \cos (c+d x)}}+\frac {2 a^2 \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{7 d \sqrt {a+a \cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.28, size = 72, normalized size = 0.45 \[ \frac {2 a (117 \cos (c+d x)+26 \cos (2 (c+d x))+26 \cos (3 (c+d x))+41) \tan \left (\frac {1}{2} (c+d x)\right ) \sec ^{\frac {7}{2}}(c+d x) \sqrt {a (\cos (c+d x)+1)}}{105 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.66, size = 86, normalized size = 0.53 \[ \frac {2 \, {\left (104 \, a \cos \left (d x + c\right )^{3} + 52 \, a \cos \left (d x + c\right )^{2} + 39 \, a \cos \left (d x + c\right ) + 15 \, a\right )} \sqrt {a \cos \left (d x + c\right ) + a} \sin \left (d x + c\right )}{105 \, {\left (d \cos \left (d x + c\right )^{4} + d \cos \left (d x + c\right )^{3}\right )} \sqrt {\cos \left (d x + c\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.20, size = 83, normalized size = 0.52 \[ -\frac {2 \left (104 \left (\cos ^{4}\left (d x +c \right )\right )-52 \left (\cos ^{3}\left (d x +c \right )\right )-13 \left (\cos ^{2}\left (d x +c \right )\right )-24 \cos \left (d x +c \right )-15\right ) \cos \left (d x +c \right ) \sqrt {a \left (1+\cos \left (d x +c \right )\right )}\, \left (\frac {1}{\cos \left (d x +c \right )}\right )^{\frac {9}{2}} a}{105 d \sin \left (d x +c \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.25, size = 263, normalized size = 1.63 \[ \frac {4 \, {\left (\frac {105 \, \sqrt {2} a^{\frac {3}{2}} \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - \frac {245 \, \sqrt {2} a^{\frac {3}{2}} \sin \left (d x + c\right )^{3}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{3}} + \frac {273 \, \sqrt {2} a^{\frac {3}{2}} \sin \left (d x + c\right )^{5}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{5}} - \frac {171 \, \sqrt {2} a^{\frac {3}{2}} \sin \left (d x + c\right )^{7}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{7}} + \frac {38 \, \sqrt {2} a^{\frac {3}{2}} \sin \left (d x + c\right )^{9}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{9}}\right )} {\left (\frac {\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + 1\right )}^{3}}{105 \, d {\left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {9}{2}} {\left (-\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {9}{2}} {\left (\frac {3 \, \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + \frac {3 \, \sin \left (d x + c\right )^{4}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{4}} + \frac {\sin \left (d x + c\right )^{6}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{6}} + 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.14, size = 221, normalized size = 1.37 \[ \frac {-35\,a\,\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )\,\sqrt {a+a\,\cos \left (c+d\,x\right )}\,\sqrt {\frac {2\,{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}+91\,a\,\sin \left (\frac {3\,c}{2}+\frac {3\,d\,x}{2}\right )\,\sqrt {a+a\,\cos \left (c+d\,x\right )}\,\sqrt {\frac {2\,{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}+26\,a\,\sin \left (\frac {7\,c}{2}+\frac {7\,d\,x}{2}\right )\,\sqrt {a+a\,\cos \left (c+d\,x\right )}\,\sqrt {\frac {2\,{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}}{\frac {315\,d\,\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}{8}+\frac {315\,d\,\cos \left (\frac {3\,c}{2}+\frac {3\,d\,x}{2}\right )}{8}+\frac {105\,d\,\cos \left (\frac {5\,c}{2}+\frac {5\,d\,x}{2}\right )}{8}+\frac {105\,d\,\cos \left (\frac {7\,c}{2}+\frac {7\,d\,x}{2}\right )}{8}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________